package com.gxa.ticket.param;

import com.github.xiaoymin.knife4j.annotations.Ignore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.mybatis.spring.annotation.MapperScan;

@Data
@AllArgsConstructor
@NoArgsConstructor
@MapperScan
@ApiModel
public class FlightParam {

//    /**
//     * 类型 单程 往返程
//     */
//    private String type;

    /**
     * 出发城市id
     */
    @ApiModelProperty(value = "出发城市id",name = "startCity")
    private Integer startCity;
    /**
     * 到达城市id
     */
    @ApiModelProperty(value = "到达城市id",name = "endCity")
    private Integer endCity;
    /**
     * 出发日期
     */
    @ApiModelProperty(value = "出发日期",name = "startDay")
    private String startDay;


    private String startDay1;

    private String startDay2;
    /**
     * 返回日期
     */
    @ApiModelProperty(value = "返回日期",name = "endDay")
    private String endDay;
    /**
     * 舱位
     */
    @ApiModelProperty(value = "舱位",name = "flightLevel")
    private String flightLevel = "";

    /**
     * 航空公司id
     */
    @ApiModelProperty(value = "航空公司id",name = "companyId")
    private Integer companyId = null;

    /**
     * 出发时间筛选
     * 1为凌晨(0:00 - 6:00)
     * 2为中午(6:00 - 12:00)
     * 3为下午(12:00 - 18:00)
     * 4为晚上(18:00 - 24:00)
     */
    @ApiModelProperty(value = "出发时间",name = "timesId")
    private Integer timesId = null;

    /**
     *
     */
    @ApiModelProperty(value = "价格",name = "timesId")
    private Integer priceId = null;

    /**
     * 价格筛选
     * 价格区间 0-1111 第一个价格
     */
    @ApiModelProperty(value = "价格",name = "price1")
    private Double price1 = null;

    /**
     * 价格筛选
     * 价格区间 0-1111 第二个价格
     */
    @ApiModelProperty(value = "价格",name = "price2")
    private Double price2 = null;

    /**
     * 第几页
     */
    @ApiModelProperty(value = "页码",name = "page")
    private Integer page = 1;

    /**
     * 页容量
     */
    @ApiModelProperty(value = "页容量",name = "pageSize")
    private Integer pageSize = 5;


}
